package com.wl.spring.jdbc.dao;

import com.wl.spring.jdbc.entity.Oprecored;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class OprecordDao {
    @Autowired
    JdbcTemplate jdbcTemplate;

    //查询用户的全部流水记录
    public Oprecored queryByAid(long id){
        String sql = "select * from oprecord where aid = ?";
        return
    }

    //新增用户流水（存款，取款，转账。。。）
    public void insert(Oprecored oprecored){

    }
}
